import request from '@/util/request'

// 获取可选课程
export const getSelectableCoursesAPI = (params) => {
  return request.get('/student/select', { params })
}

// 选课
export const selectCourseAPI = (data) => {
  return request.post('/student/select', data)
}

// 退课
export const dropCourseAPI = (params) => {
  return request.delete('/student/select', { params })
}
